
<script>
import $store from "@/store/index.js";

export default {
    onLaunch: function () {
        $store.dispatch("login");
        $store.state.xinyuqian.allXin.requestResult.$next();
        if (globalThis && !globalThis.uni) globalThis.uni = wx;
        console.log("App Launch");
    },
    onShow: function () {
        console.log("App Show");
    },
    onHide: function () {
        console.log("App Hide");
    }
};
</script>

<style>
@import "@/wxcomponents/weapp/dist/common/index.wxss";
@import "@/lib/Noto Serif SC.css";
@import "@/lib/material-icons.css";

/*每个页面公共css */
body,
uni-page-body {
    height: 100%;
}

page {
    font-family: "Noto Serif SC", system-ui;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* @font-face {
    font-family: "Material Icons Outlined";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/materialiconsoutlined/v76/gok-H7zzDkdnRel8-DQ6KAXJ69wP1tGnf4ZGhUce.woff2)
        format("woff2");
}

.material-icons-outlined {
    color: #5f6368;
    font-family: "Material Icons Outlined";
    font-weight: normal;
    font-style: normal;
    font-size: 64rpx;
    line-height: 1;
    text-align: center;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
} */
.row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.font-song {
    font-family: "Noto Serif SC", Georgia, "Nimbus Roman No9 L", "Songti SC",
        "Noto Serif CJK SC", "Source Han Serif SC", "Source Han Serif CN",
        STSong, "AR PL New Sung", "AR PL SungtiL GB", NSimSun, SimSun,
        "TW\-Sung", "WenQuanYi Bitmap Song", "AR PL UMing CN", "AR PL UMing HK",
        "AR PL UMing TW", "AR PL UMing TW MBE", PMingLiU, MingLiU, serif !important;
}

.column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.flex-1 {
    flex: 1;
}
</style>
